# -*- coding:utf8 -*-
from peewee import *
db = SqliteDatabase('guaji.db')
class BaseModel(Model):
    class Meta:
        database = db


class MatchingList(BaseModel):
    id              =   PrimaryKeyField()
    game_name       =   CharField()
    match_name      =   CharField()
    ray_match_id    =   IntegerField()
    lei_match_id    =   IntegerField()
    class Meta:
        db_table = 'matching_list'